<html xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <title>简历列表</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
<!--    <script th:href="@{/lib/jquery-3.4.1.min.js}"></script>-->
<!--    <script th:href="@{/lib/bootstrap/js/bootstrap.js}"></script>-->
<!--    <link th:href="@{/lib/bootstrap/css/bootstrap.css}" rel="stylesheet"/>-->
    <style>
        html, body {
            height: 100%
        }
    </style>
</head>
<body class="bg-secondary">
<div class="container h-100 d-flex justify-content-center">
    <div class="my-auto bg-white" style="padding: 30px 50px;width: 500px">
        <form method="post" th:action="@{${id!=null? '/resume/'+id+'.do' : '/resume/create.do'}}">
            <div th:if="${id!=null}">
                <div class="row form-group">
                    <label class="col-3 col-form-label">ID</label>
                    <div class="col-9">
                        <input class="form-control-plaintext" readonly name="id" th:value="${resume.id}">
                    </div>
                </div>
            </div>
            <div class="row form-group">
                <label class="col-3 col-form-label">姓名</label>
                <div class="col-9">
                    <input class="form-control" name="name" th:value="${resume!=null ?resume.name:''}">
                </div>
            </div>
            <div class="row form-group" style="margin-top: 30px">
                <div class="col-12 text-right">
                    <button class="btn btn-primary col-3">保存</button>
                </div>
            </div>
        </form>
    </div>
</div>
</body>
</html>
